home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / newmake.arc / MAKEFILE < prev    next >
Encoding:
Text File  |  1986-09-21  |  1.1 KB  |  65 lines

  1. !
  2. ! MSDOS Make utility
  3. ! (compile with Lattice C version 2.1)
  4. !
  5.  
  6. CLIB = e:\lc\s\lc
  7. COBJ = e:\lc\s\c
  8. LCS = lc -ms -ie:\lc\
  9. H = make.h
  10. FILES = #H make.c macro.c token.c parsedir.c file.c osdate.asm
  11. DOCUMENTATION = readme make.man makefile
  12.  
  13. xmake.exe : make.obj macro.obj token.obj parsedir.obj file.obj osdate.obj
  14.     link #(COBJ) make macro token parsedir file osdate,xmake,nul,#(CLIB)
  15.  
  16. make.obj : make.c #H
  17.     #(LCS) make
  18.  
  19. macro.obj : macro.c #H
  20.     #(LCS) macro
  21.  
  22. token.obj : token.c #H
  23.     #(LCS) token
  24.  
  25. parsedir.obj : parsedir.c #H
  26.     #(LCS) parsedir
  27.  
  28. file.obj : file.c
  29.     #(LCS) file
  30.  
  31. osdate.obj : osdate.asm
  32.     masm osdate;
  33.  
  34. !
  35. ! Print files associated with MAKE
  36. !
  37. print :
  38.     print make.man #(FILES) makefile
  39.  
  40.  
  41. !
  42. ! collect source and documentation files
  43. !
  44. collect :
  45.     collect -o make.col @make.lis
  46.  
  47.  
  48. !
  49. ! copy to distribution disk (on A:)
  50. !
  51. distribution :
  52.     copy readme a:
  53.     copy make.man a:
  54.     copy makefile a:
  55.     copy make.bat a:
  56.     copy make.c a:
  57.     copy macro.c a:
  58.     copy token.c a:
  59.     copy parsedir.c a:
  60.     copy file.c a:
  61.     copy osdate.asm a:
  62.     copy cmake.bat a:
  63.     copy make.lis a:
  64.     copy xmake.exe a:
  65.